Optimal. Leaf size=44 \[ \frac {2 F\left (\left .\frac {x}{2}\right |2\right )}{3 \cos ^{\frac {3}{2}}(x) \sqrt {a \sec ^3(x)}}+\frac {2 \tan (x)}{3 \sqrt {a \sec ^3(x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {4208, 3854,
3856, 2720} \begin {gather*} \frac {2 \tan (x)}{3 \sqrt {a \sec ^3(x)}}+\frac {2 F\left (\left .\frac {x}{2}\right |2\right )}{3 \cos ^{\frac {3}{2}}(x) \sqrt {a \sec ^3(x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2720
Rule 3854
Rule 3856
Rule 4208
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {a \sec ^3(x)}} \, dx &=\frac {\sec ^{\frac {3}{2}}(x) \int \frac {1}{\sec ^{\frac {3}{2}}(x)} \, dx}{\sqrt {a \sec ^3(x)}}\\ &=\frac {2 \tan (x)}{3 \sqrt {a \sec ^3(x)}}+\frac {\sec ^{\frac {3}{2}}(x) \int \sqrt {\sec (x)} \, dx}{3 \sqrt {a \sec ^3(x)}}\\ &=\frac {2 \tan (x)}{3 \sqrt {a \sec ^3(x)}}+\frac {\int \frac {1}{\sqrt {\cos (x)}} \, dx}{3 \cos ^{\frac {3}{2}}(x) \sqrt {a \sec ^3(x)}}\\ &=\frac {2 F\left (\left .\frac {x}{2}\right |2\right )}{3 \cos ^{\frac {3}{2}}(x) \sqrt {a \sec ^3(x)}}+\frac {2 \tan (x)}{3 \sqrt {a \sec ^3(x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 31, normalized size = 0.70 \begin {gather*} \frac {2 \left (\frac {F\left (\left .\frac {x}{2}\right |2\right )}{\cos ^{\frac {3}{2}}(x)}+\tan (x)\right )}{3 \sqrt {a \sec ^3(x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.50, size = 76, normalized size = 1.73
method | result | size |
default | \(\frac {2 \left (-1+\cos \left (x \right )\right ) \left (-i \sqrt {\frac {1}{\cos \left (x \right )+1}}\, \sqrt {\frac {\cos \left (x \right )}{\cos \left (x \right )+1}}\, \sin \left (x \right ) \EllipticF \left (\frac {i \left (-1+\cos \left (x \right )\right )}{\sin \left (x \right )}, i\right )+\cos ^{2}\left (x \right )-\cos \left (x \right )\right ) \left (\cos \left (x \right )+1\right )^{2}}{3 \cos \left (x \right )^{2} \sin \left (x \right )^{3} \sqrt {\frac {a}{\cos \left (x \right )^{3}}}}\) | \(76\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.79, size = 58, normalized size = 1.32 \begin {gather*} \frac {2 \, \sqrt {\frac {a}{\cos \left (x\right )^{3}}} \cos \left (x\right )^{2} \sin \left (x\right ) + i \, \sqrt {2} \sqrt {a} {\rm weierstrassPInverse}\left (-4, 0, \cos \left (x\right ) + i \, \sin \left (x\right )\right ) - i \, \sqrt {2} \sqrt {a} {\rm weierstrassPInverse}\left (-4, 0, \cos \left (x\right ) - i \, \sin \left (x\right )\right )}{3 \, a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {a \sec ^{3}{\left (x \right )}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{\sqrt {\frac {a}{{\cos \left (x\right )}^3}}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________